﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013A7 RID: 5031
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeTrainVisitorUntakenBehaviorRewardScRsp : IMessage<TakeTrainVisitorUntakenBehaviorRewardScRsp>, IMessage, IEquatable<TakeTrainVisitorUntakenBehaviorRewardScRsp>, IDeepCloneable<TakeTrainVisitorUntakenBehaviorRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003F6F RID: 16239
		// (get) Token: 0x0600E14D RID: 57677 RVA: 0x0025A61B File Offset: 0x0025881B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeTrainVisitorUntakenBehaviorRewardScRsp> Parser
		{
			get
			{
				return TakeTrainVisitorUntakenBehaviorRewardScRsp._parser;
			}
		}

		// Token: 0x17003F70 RID: 16240
		// (get) Token: 0x0600E14E RID: 57678 RVA: 0x0025A622 File Offset: 0x00258822
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeTrainVisitorUntakenBehaviorRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F71 RID: 16241
		// (get) Token: 0x0600E14F RID: 57679 RVA: 0x0025A634 File Offset: 0x00258834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeTrainVisitorUntakenBehaviorRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600E150 RID: 57680 RVA: 0x0025A63B File Offset: 0x0025883B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrainVisitorUntakenBehaviorRewardScRsp()
		{
		}

		// Token: 0x0600E151 RID: 57681 RVA: 0x0025A650 File Offset: 0x00258850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrainVisitorUntakenBehaviorRewardScRsp(TakeTrainVisitorUntakenBehaviorRewardScRsp other) : this()
		{
			this.bKHCLMJKOIP_ = other.bKHCLMJKOIP_.Clone();
			this.visitorId_ = other.visitorId_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E152 RID: 57682 RVA: 0x0025A69D File Offset: 0x0025889D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrainVisitorUntakenBehaviorRewardScRsp Clone()
		{
			return new TakeTrainVisitorUntakenBehaviorRewardScRsp(this);
		}

		// Token: 0x17003F72 RID: 16242
		// (get) Token: 0x0600E153 RID: 57683 RVA: 0x0025A6A5 File Offset: 0x002588A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BKHCLMJKOIP
		{
			get
			{
				return this.bKHCLMJKOIP_;
			}
		}

		// Token: 0x17003F73 RID: 16243
		// (get) Token: 0x0600E154 RID: 57684 RVA: 0x0025A6AD File Offset: 0x002588AD
		// (set) Token: 0x0600E155 RID: 57685 RVA: 0x0025A6B5 File Offset: 0x002588B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint VisitorId
		{
			get
			{
				return this.visitorId_;
			}
			set
			{
				this.visitorId_ = value;
			}
		}

		// Token: 0x17003F74 RID: 16244
		// (get) Token: 0x0600E156 RID: 57686 RVA: 0x0025A6BE File Offset: 0x002588BE
		// (set) Token: 0x0600E157 RID: 57687 RVA: 0x0025A6C6 File Offset: 0x002588C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600E158 RID: 57688 RVA: 0x0025A6CF File Offset: 0x002588CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeTrainVisitorUntakenBehaviorRewardScRsp);
		}

		// Token: 0x0600E159 RID: 57689 RVA: 0x0025A6E0 File Offset: 0x002588E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeTrainVisitorUntakenBehaviorRewardScRsp other)
		{
			return other != null && (other == this || (this.bKHCLMJKOIP_.Equals(other.bKHCLMJKOIP_) && this.VisitorId == other.VisitorId && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E15A RID: 57690 RVA: 0x0025A740 File Offset: 0x00258940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.bKHCLMJKOIP_.GetHashCode();
			if (this.VisitorId != 0U)
			{
				num ^= this.VisitorId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E15B RID: 57691 RVA: 0x0025A7A6 File Offset: 0x002589A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E15C RID: 57692 RVA: 0x0025A7AE File Offset: 0x002589AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E15D RID: 57693 RVA: 0x0025A7B8 File Offset: 0x002589B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.VisitorId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.VisitorId);
			}
			this.bKHCLMJKOIP_.WriteTo(ref output, TakeTrainVisitorUntakenBehaviorRewardScRsp._repeated_bKHCLMJKOIP_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E15E RID: 57694 RVA: 0x0025A824 File Offset: 0x00258A24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.bKHCLMJKOIP_.CalculateSize(TakeTrainVisitorUntakenBehaviorRewardScRsp._repeated_bKHCLMJKOIP_codec);
			if (this.VisitorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.VisitorId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E15F RID: 57695 RVA: 0x0025A890 File Offset: 0x00258A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeTrainVisitorUntakenBehaviorRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.bKHCLMJKOIP_.Add(other.bKHCLMJKOIP_);
			if (other.VisitorId != 0U)
			{
				this.VisitorId = other.VisitorId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E160 RID: 57696 RVA: 0x0025A8F1 File Offset: 0x00258AF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E161 RID: 57697 RVA: 0x0025A8FC File Offset: 0x00258AFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 72U)
				{
					if (num == 8U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.VisitorId = input.ReadUInt32();
						continue;
					}
				}
				else if (num == 120U || num == 122U)
				{
					this.bKHCLMJKOIP_.AddEntriesFrom(ref input, TakeTrainVisitorUntakenBehaviorRewardScRsp._repeated_bKHCLMJKOIP_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400592F RID: 22831
		private static readonly MessageParser<TakeTrainVisitorUntakenBehaviorRewardScRsp> _parser = new MessageParser<TakeTrainVisitorUntakenBehaviorRewardScRsp>(() => new TakeTrainVisitorUntakenBehaviorRewardScRsp());

		// Token: 0x04005930 RID: 22832
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005931 RID: 22833
		public const int BKHCLMJKOIPFieldNumber = 15;

		// Token: 0x04005932 RID: 22834
		private static readonly FieldCodec<uint> _repeated_bKHCLMJKOIP_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x04005933 RID: 22835
		private readonly RepeatedField<uint> bKHCLMJKOIP_ = new RepeatedField<uint>();

		// Token: 0x04005934 RID: 22836
		public const int VisitorIdFieldNumber = 9;

		// Token: 0x04005935 RID: 22837
		private uint visitorId_;

		// Token: 0x04005936 RID: 22838
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04005937 RID: 22839
		private uint retcode_;
	}
}
